home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr48 / 386p_200.zip / FILEFMTS.TXT < prev    next >
Text File  |  1995-01-15  |  3KB  |  61 lines

  1. Explanation of XGE file formats
  2.  
  3.  .CBF Character Bitmap File
  4.       is 8Kbytes long and contains (in order)
  5.       12 RGB palette entries
  6.             the first 6 are for BRIGHT0_TEXT ... BRIGHT6_TEXT
  7.             the other 6 are for DARK0_TEXT ... DARK6_TEXT
  8.             (see the palette definitions into 386video.inc)
  9.       then follows
  10.       the bitmaps for 256 8x8 characters.
  11.  
  12.       The character bitmaps can use the 20 "static" windows colours
  13.       plus the 12 "character font" colors.
  14.  
  15.       See  PCX2CBF.ASM for more info
  16.       N.B. The PCX2CBF utility reads a pcx file assuming
  17.            the character bitmaps are arranged in a 32x4 char bitmap matrix
  18.       
  19.  .TBF Tile Bitmap File
  20.       contains the bitmaps for (FILESIZE/ (32*26)) tile elements
  21.       (the 32x26 tile bitmaps i call "patterns").
  22.       Use this together with a TAF and a TMF file to get all the informations
  23.       needed to build a background screen image.
  24.       N.B. the PCX2TBF utility "scans" a 320x200 pcx file
  25.            and "compiles" 70 tile bitmaps (from a matrix of 10x7 tiles)
  26.            to the specified .TBF file.
  27.            If you want a .TBF file with more than 70 tiles
  28.            simple JOIN TOGETHER two or more .TBF files. 
  29.            To do this,you can use the copy command this way:
  30.             COPY tile1.TBF /B +  tile2.TBF /B + ... +  tileN.TBF /B tiles.TBF
  31.            ( copy & join tile1.TBF ... tileN.TBF to a single tiles.TBF file) 
  32.       
  33.  .TAF Tile Attribute File
  34.       contains the attributes for the tile bitmaps contained into a file
  35.       with the same name but with extension TBF.
  36.       (not yet supported by XGE, but expect to see it in a future release)
  37.       
  38.  .TMF Tile Map File
  39.       contains the "map" of a tiled background XTILES wide and YTILES high
  40.       with every tile entry using 8 bytes.
  41.       every tile is stored as an INDEX you can use to reference
  42.       the corrispondent tile bitmap and attributes.
  43.  
  44.  .XVD XGE Video Driver
  45.      actually a chunk of protected mode code that self-links      
  46.      and "connects" your program to the available display card.
  47.      Every program using 386video.asm "autoinitializes"
  48.      trying to use the driver called XVD.XVD in the current directory
  49.      but if is not present or if it detects it is not the correct driver
  50.      for the graphics card you have, it will use the "integrated"
  51.      VGA mode 13h driver.
  52.      
  53.  .XID XGE Input Driver  (you will see this in release 3.00)
  54.      like XVD, but drives game control things. It is designed
  55.      to support anything from a keyboard to a 6D POINTER
  56.      ( a 3D pointing device with roll,pitch&yaw additional data)
  57.      
  58.  .XSD XGE Sound Driver   (you will see this in release 3.00)
  59.      like XVD, but drives sound cards.
  60.       
  61.